module ApplicationHelper
  #标题文字补全
  def full_title(title = nil)
    if title && title.respond_to?(:empty?) && !title.empty?
      title + ' | Sample App'
    else
      'Sample App'
    end
  end
end
